#include "game.h"
#include "BalloonRed.h"
#include "ASprite.h"

#define MOVE_STEP TIME_STEP

BalloonRed::BalloonRed()
{
	SetObjectType(Object_Balloon);	
	setColor(0xffff0000);
	
	
}

void BalloonRed::SaveData(CWriteFile* stream)
{
	Balloon::SaveData(stream);

}
void BalloonRed::LoadData(CReadFile* stream)
{
	Balloon::LoadData(stream);

}

void BalloonRed::Load(IAttributes* attr)
{
	
}

void BalloonRed::Draw()
{
	getGfx()->SetColor(m_color);	
	//getGfx()->DrawCircle2(m_position.X,m_position.Y,m_radius);

#if (SHOW_BOUND_RECT)
	getGfx()->SetColor(0xff00ff00);	
	getGfx()->DrawRect(m_boundingbox->left,
		m_boundingbox->top,
		m_boundingbox->GetWidth(),
		m_boundingbox->GetHeight());
#endif

	//getGfx()->SetColor(0xffff0000);		
	//
	//getGfx()->SetColor(0xff0000ff);	
	//getGfx()->DrawCircle2(m_closestPoint.X,m_closestPoint.Y,6);
	

}

void BalloonRed::Update()
{
	Balloon::Update();
}

void BalloonRed::Initialize()
{
	Balloon::Initialize();

	m_damage = 100;
	
}
void BalloonRed::Update_PreCollision()
{
	Balloon::Update_PreCollision();
}
void BalloonRed::Update_PostCollision()
{
	Balloon::Update_PostCollision();
}
